3.356 \(\int \frac{\sqrt{d+e x^2}}{x^2 \left (a+b x^2+c x^4\right )} \, dx\)

Optimal. Leaf size=291 \[ -\frac{c \left (\frac{b d-2 a e}{\sqrt{b^2-4 a c}}+d\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}{\sqrt{b-\sqrt{b^2-4 a c}} \sqrt{d+e x^2}}\right )}{a \sqrt{b-\sqrt{b^2-4 a c}} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{c \left (d-\frac{b d-2 a e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}{\sqrt{\sqrt{b^2-4 a c}+b} \sqrt{d+e x^2}}\right )}{a \sqrt{\sqrt{b^2-4 a c}+b} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{\sqrt{d+e x^2}}{a x} \]

[Out]

-(Sqrt[d + e*x^2]/(a*x)) - (c*(d + (b*d - 2*a*e)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt
[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]*x)/(Sqrt[b - Sqrt[b^2 - 4*a*c]]*Sqrt[d + e*x
^2])])/(a*Sqrt[b - Sqrt[b^2 - 4*a*c]]*Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) -
 (c*(d - (b*d - 2*a*e)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2*c*d - (b + Sqrt[b^2 - 4
*a*c])*e]*x)/(Sqrt[b + Sqrt[b^2 - 4*a*c]]*Sqrt[d + e*x^2])])/(a*Sqrt[b + Sqrt[b^
2 - 4*a*c]]*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Rubi [A]  time = 1.63786, antiderivative size = 291, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 5, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.172 \[ -\frac{c \left (\frac{b d-2 a e}{\sqrt{b^2-4 a c}}+d\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}{\sqrt{b-\sqrt{b^2-4 a c}} \sqrt{d+e x^2}}\right )}{a \sqrt{b-\sqrt{b^2-4 a c}} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{c \left (d-\frac{b d-2 a e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}{\sqrt{\sqrt{b^2-4 a c}+b} \sqrt{d+e x^2}}\right )}{a \sqrt{\sqrt{b^2-4 a c}+b} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{\sqrt{d+e x^2}}{a x} \]

Antiderivative was successfully verified.

[In]  Int[Sqrt[d + e*x^2]/(x^2*(a + b*x^2 + c*x^4)),x]

[Out]

-(Sqrt[d + e*x^2]/(a*x)) - (c*(d + (b*d - 2*a*e)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt
[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]*x)/(Sqrt[b - Sqrt[b^2 - 4*a*c]]*Sqrt[d + e*x
^2])])/(a*Sqrt[b - Sqrt[b^2 - 4*a*c]]*Sqrt[2*c*d - (b - Sqrt[b^2 - 4*a*c])*e]) -
 (c*(d - (b*d - 2*a*e)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2*c*d - (b + Sqrt[b^2 - 4
*a*c])*e]*x)/(Sqrt[b + Sqrt[b^2 - 4*a*c]]*Sqrt[d + e*x^2])])/(a*Sqrt[b + Sqrt[b^
2 - 4*a*c]]*Sqrt[2*c*d - (b + Sqrt[b^2 - 4*a*c])*e])

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x**2+d)**(1/2)/x**2/(c*x**4+b*x**2+a),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [A]  time = 0.595705, size = 0, normalized size = 0. \[ \int \frac{\sqrt{d+e x^2}}{x^2 \left (a+b x^2+c x^4\right )} \, dx \]

Verification is Not applicable to the result.

[In]  Integrate[Sqrt[d + e*x^2]/(x^2*(a + b*x^2 + c*x^4)),x]

[Out]

Integrate[Sqrt[d + e*x^2]/(x^2*(a + b*x^2 + c*x^4)), x]

_______________________________________________________________________________________

Maple [C]  time = 0.038, size = 272, normalized size = 0.9 \[ -{\frac{1}{adx} \left ( e{x}^{2}+d \right ) ^{{\frac{3}{2}}}}+{\frac{ex}{ad}\sqrt{e{x}^{2}+d}}+{\frac{1}{a}\sqrt{e}\ln \left ( x\sqrt{e}+\sqrt{e{x}^{2}+d} \right ) }+{\frac{1}{2\,a}\sqrt{e}\sum _{{\it \_R}={\it RootOf} \left ( c{{\it \_Z}}^{4}+ \left ( 4\,be-4\,cd \right ){{\it \_Z}}^{3}+ \left ( 16\,a{e}^{2}-8\,bde+6\,c{d}^{2} \right ){{\it \_Z}}^{2}+ \left ( 4\,b{d}^{2}e-4\,c{d}^{3} \right ){\it \_Z}+c{d}^{4} \right ) }{\frac{{{\it \_R}}^{2}cd+2\, \left ( -2\,a{e}^{2}+2\,bde-c{d}^{2} \right ){\it \_R}+c{d}^{3}}{{{\it \_R}}^{3}c+3\,{{\it \_R}}^{2}be-3\,{{\it \_R}}^{2}cd+8\,{\it \_R}\,a{e}^{2}-4\,{\it \_R}\,bde+3\,{\it \_R}\,c{d}^{2}+b{d}^{2}e-c{d}^{3}}\ln \left ( \left ( \sqrt{e{x}^{2}+d}-x\sqrt{e} \right ) ^{2}-{\it \_R} \right ) }}+{\frac{1}{a}\sqrt{e}\ln \left ( \sqrt{e{x}^{2}+d}-x\sqrt{e} \right ) } \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x^2+d)^(1/2)/x^2/(c*x^4+b*x^2+a),x)

[Out]

-1/a/d/x*(e*x^2+d)^(3/2)+1/a/d*e*x*(e*x^2+d)^(1/2)+1/a*e^(1/2)*ln(x*e^(1/2)+(e*x
^2+d)^(1/2))+1/2/a*e^(1/2)*sum((_R^2*c*d+2*(-2*a*e^2+2*b*d*e-c*d^2)*_R+c*d^3)/(_
R^3*c+3*_R^2*b*e-3*_R^2*c*d+8*_R*a*e^2-4*_R*b*d*e+3*_R*c*d^2+b*d^2*e-c*d^3)*ln((
(e*x^2+d)^(1/2)-x*e^(1/2))^2-_R),_R=RootOf(c*_Z^4+(4*b*e-4*c*d)*_Z^3+(16*a*e^2-8
*b*d*e+6*c*d^2)*_Z^2+(4*b*d^2*e-4*c*d^3)*_Z+c*d^4))+1/a*e^(1/2)*ln((e*x^2+d)^(1/
2)-x*e^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{e x^{2} + d}}{{\left (c x^{4} + b x^{2} + a\right )} x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e*x^2 + d)/((c*x^4 + b*x^2 + a)*x^2),x, algorithm="maxima")

[Out]

integrate(sqrt(e*x^2 + d)/((c*x^4 + b*x^2 + a)*x^2), x)

_______________________________________________________________________________________

Fricas [A]  time = 2.27264, size = 3243, normalized size = 11.14 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e*x^2 + d)/((c*x^4 + b*x^2 + a)*x^2),x, algorithm="fricas")

[Out]

-1/4*(sqrt(1/2)*a*x*sqrt(-((b^3 - 3*a*b*c)*d - (a*b^2 - 2*a^2*c)*e + (a^3*b^2 -
4*a^4*c)*sqrt((a^2*b^2*e^2 + (b^4 - 2*a*b^2*c + a^2*c^2)*d^2 - 2*(a*b^3 - a^2*b*
c)*d*e)/(a^6*b^2 - 4*a^7*c)))/(a^3*b^2 - 4*a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^2*c^2)*d^2 - 2*(a*b^3 - a^2*b*c)*d*e)/(a^6*b^2 - 4*a^7*c)))/(a^3*b^2 -
4*a^4*c)))/x^2) + 4*sqrt(e*x^2 + d))/(a*x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{d + e x^{2}}}{x^{2} \left (a + b x^{2} + c x^{4}\right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x**2+d)**(1/2)/x**2/(c*x**4+b*x**2+a),x)

[Out]

Integral(sqrt(d + e*x**2)/(x**2*(a + b*x**2 + c*x**4)), x)

_______________________________________________________________________________________

GIAC/XCAS [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e*x^2 + d)/((c*x^4 + b*x^2 + a)*x^2),x, algorithm="giac")

[Out]

Timed out